function Plot_T_Sensitive_Place_Field(Data_Summary,recording_session,cellname)

% specify input
% recording_session = which day of experiment (which row of the Data_Summary structure array)
% cellname = which cell you wanna look at of that particular day

A=Data_Summary(recording_session);

figure
subplot(2,2,1);
plot(A.Behavior_Tracking1(:,2),A.Behavior_Tracking1(:,3),'-','Color',[0.6,0.2,0.5],'LineWidth',0.5);
xlim([min(A.Behavior_Tracking1(:,2))-1,max(A.Behavior_Tracking1(:,2)+1)]);
ylim([min(A.Behavior_Tracking1(:,3))-1,max(A.Behavior_Tracking1(:,3)+1)]);
hold on
T1 = extractfield(A, 'Cell_Active_Both_Session_Reorganize1');
T1 = reshape(T1, [], 6, size(A.Cell_Active_Both_Session_Reorganize1,3));
T1 = T1(:,1,cellname);
scatter(A.Cell_Active_Both_Session_Reorganize1(:,4,cellname),A.Cell_Active_Both_Session_Reorganize1(:,5,cellname),30,T1,'filled'); 
set(gca,'XColor','none');
set(gca,'YColor','none');
title('Session1','FontSize',15)
hold off

subplot(2,2,2);
plot(A.Behavior_Tracking2(:,2),A.Behavior_Tracking2(:,3),'-','Color',[0.6,0.2,0.5],'LineWidth',0.5);
xlim([min(A.Behavior_Tracking2(:,2))-1,max(A.Behavior_Tracking2(:,2)+1)]);
ylim([min(A.Behavior_Tracking2(:,3))-1,max(A.Behavior_Tracking2(:,3)+1)]);
hold on
T2 = extractfield(A, 'Cell_Active_Both_Session_Reorganize2');
T2 = reshape(T2, [], 6, size(A.Cell_Active_Both_Session_Reorganize2,3));
T2 = T2(:,1,cellname);
scatter(A.Cell_Active_Both_Session_Reorganize2(:,4,cellname),A.Cell_Active_Both_Session_Reorganize2(:,5,cellname),30,T2,'filled');
set(gca,'XColor','none');
set(gca,'YColor','none');
title('Session2','FontSize',15)
hold off

subplot(2,2,3);
heatmap(A.Smoothed_Ca_Rate_Map1_ForGraph(:,:,cellname),'CellLabelColor','none'); 
colormap jet; 
Ax = gca;
Ax.XDisplayLabels = nan(size(Ax.XDisplayData));
Ax.YDisplayLabels = nan(size(Ax.YDisplayData));

subplot(2,2,4);
heatmap(A.Smoothed_Ca_Rate_Map2_ForGraph(:,:,cellname),'CellLabelColor','none');
colormap jet;
Ax = gca;
Ax.XDisplayLabels = nan(size(Ax.XDisplayData));
Ax.YDisplayLabels = nan(size(Ax.YDisplayData));

end
